package edu.song.yeb.boot.service;

import edu.song.yeb.boot.domain.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import edu.song.yeb.boot.pojo.RespBean;

import javax.servlet.http.HttpServletRequest;

/**
 *
 */
public interface AdminService extends IService<Admin> {

    RespBean login(String username, String password,String code, HttpServletRequest request);

    Admin findAdminByUsername(String username);
}
